package com.aloha.springframework.test.event;

import com.aloha.springframework.context.ApplicationListener;

/**
 * @author DaiZhiHeng
 * @date 2023/7/4 8:27
 */
public class CustomEventListener implements ApplicationListener<CustomEvent> {

    @Override
    public void onApplicationEvent(CustomEvent event) {
        System.out.println("监听到事件内容：" + event.getContent());
    }
}
